package com.gzhryc.pay.adaptation.weixin.msg;

import java.io.Serializable;
import java.util.List;

public class NotifyPayPromotionDetailItem implements Serializable {

    private static final long serialVersionUID = 1L;

    private String coupon_id;
    private String name;
    /**
     * GLOBAL：全场代金券
     * SINGLE：单品优惠
     */
    private String scope;
    /**
     * CASH：充值
     * NOCASH：预充值
     */
    private String type;
    private Integer amount;
    private String stock_id;
    private Integer wechatpay_contribute;       //微信出资，单位为分
    private Integer merchant_contribute;        //商户出资，单位为分
    private Integer other_contribute;           //其他出资，单位为分
    private String currency = "CNY";
    private List<GoodsDetailItem> goods_detail;

    public String getCoupon_id() {
        return coupon_id;
    }

    public void setCoupon_id(String coupon_id) {
        this.coupon_id = coupon_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getStock_id() {
        return stock_id;
    }

    public void setStock_id(String stock_id) {
        this.stock_id = stock_id;
    }

    public Integer getWechatpay_contribute() {
        return wechatpay_contribute;
    }

    public void setWechatpay_contribute(Integer wechatpay_contribute) {
        this.wechatpay_contribute = wechatpay_contribute;
    }

    public Integer getMerchant_contribute() {
        return merchant_contribute;
    }

    public void setMerchant_contribute(Integer merchant_contribute) {
        this.merchant_contribute = merchant_contribute;
    }

    public Integer getOther_contribute() {
        return other_contribute;
    }

    public void setOther_contribute(Integer other_contribute) {
        this.other_contribute = other_contribute;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public List<GoodsDetailItem> getGoods_detail() {
        return goods_detail;
    }

    public void setGoods_detail(List<GoodsDetailItem> goods_detail) {
        this.goods_detail = goods_detail;
    }
}
